<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改部门')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-dept-edit" th:object="${config}">

        <input name="configId" type="hidden" th:field="*{configId}" />

        <div class="form-group">
            <label class="col-sm-3 control-label">参数名称：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="configName" th:field="*{configName}" id="configName" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">参数键值：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="configKey" th:field="*{configKey}" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">参数值：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="configValue" th:field="*{configValue}">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">参数类型：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="configType" th:field="*{configType}">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">参数备主：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="remark" th:field="*{remark}">
            </div>
        </div>

    </form>
</div>
<th:block th:include="include :: footer" />
<script type="text/javascript">
    var prefix = ctx + "cms/config";


    function submitHandler() {
        $.operate.save(prefix + "/edit", $('#form-dept-edit').serialize());
    }





</script>
</body>
</html>
